package com.healthcloud.service.impl;

import com.healthcloud.dao.losewisdom.LoseWisdomSingleChoiceDao;
import com.healthcloud.entity.losewisdom.LoseWisdomSingleChoiceEntity;
import com.healthcloud.service.losewisdom.LoseWisdomSingleChoiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Deprecated
@Service("loseWisdomSingleChoiceService")
@Transactional(rollbackFor = Exception.class)
public class LoseWisdomSingleChoiceServiceImpl implements LoseWisdomSingleChoiceService {

	@Autowired
	private LoseWisdomSingleChoiceDao loseWisdomSingleChoiceDao;


	/**
	 * 获取单选题题目列表
	 * @param bean
	 * @return
	 */
	@Override
	public List<LoseWisdomSingleChoiceEntity> queryList(LoseWisdomSingleChoiceEntity bean){
		return loseWisdomSingleChoiceDao.queryList(bean);
	}
	
	@Override
	public int queryTotal(LoseWisdomSingleChoiceEntity bean){
		return loseWisdomSingleChoiceDao.queryTotal(bean);
	}
	

	
}
